package com.company.cloud.crm.utils;

import cn.hutool.core.util.IdUtil;
import io.lettuce.core.output.ScanOutput;

public class CrmBizId {


	/** 市场活动ID */
	public static String getMarketActId() {
		return IdUtil.getSnowflake(1, 1).nextIdStr();
	}

	/** 线索ID */
	public static String getSaleLeadId() {
		return IdUtil.getSnowflake(1, 2).nextIdStr();
	}

	/** 线索分配日志ID */
	public static String getSaleLeadAllocationLogId() {
		return IdUtil.getSnowflake(1, 3).nextIdStr();
	}

	/** 客户编号 */
	public static String getCustomerNo() {
		return IdUtil.getSnowflake(1, 4).nextIdStr();
	}

	/** 客户分配日志ID */
	public static String getCustomerAllocationLogId() {
		return IdUtil.getSnowflake(1, 5).nextIdStr();
	}

	/** 客户联系人ID */
	public static String getLinkManId() {
		return IdUtil.getSnowflake(1, 6).nextIdStr();
	}

	/** 商机ID */
	public static String getBizOpportunityId() {
		return IdUtil.getSnowflake(1, 7).nextIdStr();
	}

	/** 报价单流水号 */
	public static String getOfferOrderSN() {
		return IdUtil.getSnowflake(1, 8).nextIdStr();
	}

	/** 报价单明细ID */
	public static String getOfferOrderItemId() {
		return IdUtil.getSnowflake(1, 9).nextIdStr();
	}

	/** 合同ID */
	public static String getContractId() {
		return IdUtil.getSnowflake(1, 10).nextIdStr();
	}

	/** 销售订单ID */
	public static String getSaleOrderSN() {
		return IdUtil.getSnowflake(1, 10).nextIdStr();
	}

	/** 销售订单明细ID */
	public static String getSaleOrderItemId() {
		return IdUtil.getSnowflake(1, 11).nextIdStr();
	}

	/** 回款计划ID */
	public static String getMoneyBackPlanId() {
		return IdUtil.getSnowflake(1, 12).nextIdStr();
	}

	/** 回款ID */
	public static String getMoneyBackId() {
		return IdUtil.getSnowflake(1, 13).nextIdStr();
	}

	/** 回款明细ID */
	public static String getMoneyBackItemId() {
		return IdUtil.getSnowflake(1, 14).nextIdStr();
	}

}
